package com.cy.pattern.singleton;

/**
 * 饿汉式单例模式
 *
 * Created by yun.chen on 2015/9/28.
 */
public class SingletonA {

    private static SingletonA singletonA = new SingletonA();

    private SingletonA() {}

    public static SingletonA getInstance() {
        return singletonA;
    }
}
